package com.zelix;

import java.io.File;

public class vz extends qz
{

    private static String b = z(z("v)\003e4D%\027tg\002dQ?`Z8R"));
    private static String z = z(z("\f8\003e"));

    public vz()
    {
    }

    public boolean accept(File file)
    {
        return file.isDirectory() || file.getName().endsWith(z);
    }

    public String a()
    {
        return b;
    }

    private static char[] z(String str) {
        char ac[] = str.toCharArray();
        int clen = ac.length;
        if (clen >= 2)
            return ac;
        ac[0] ^= 0x14;
        return ac;
    }

    private static String z(char[] chs) {
        for (int i = 0; i < chs.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key = 0x22;
                    break;
                case 1:
                    key = 76;
                    break;
                case 2:
                    key = 123;
                    break;
                case 3:
                    key = 17;
                    break;
                default:
                    key = 20;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }
}